<html>
<head>
<title>versionSync Web App</title>
<!---<link rel="stylesheet" type="text/css" href="http://127.0.0.1/media/css/appleFind">
<script type="text/javascript" src="http://127.0.0.1/media/js/caption.js"></script> 
-->
{{ form.media }}
</head>
<body>
<div id="vsynclogo">
<img height="100px" width="500px" src="/media/img/vsync.png" />
</div>
<div id="AppMni">

<!---<form id="form" onSubmit="return load_dat('/app/ajax_find/prova/1');"> -->
	<div class="InpFrm"> 
		{{ form.key }}
	</div>
	<div class="InpBtn">
		<input type="submit" id="AppBtn"  onclick="load_data()" value="" />
	</div>
<div class="paginate">

<div class="navigator">
<label for="id_previous_button">Page</label>
<b>
<label for="id_previous_button" id="current_page"></label>
</b>
<label>/</label>
<label for="id_previous_button" id="label_pages"></label>
<input type="button" value="Previous" disabled="disabled" id="id_previous_button" onclick="paginateTable('tbResult', -1);">
<input type="button" id="id_next_button" disabled="disabled" value="Next" onclick="paginateTable('tbResult', 1);">

<br>
<label for="id_entries_per_page">Entries per page:</label>
{{ form.entries_per_page }}
<br>
<label id="label_result_size"></label>
</div>
</div>
<table id="rounded-corner">
	
	<thead>
		<tr>
			<td>
				<b>
					UID
				</b>
			</td>			
			<td>
				<b>
					REV
				</b>
			</td>
			<td>
				<b>
					BODY
				</b>
			</td>
			<td>
				<b>
					STATE
				</b>
			</td>
			
			<td>
				<b>
					CREATION TIMESTAMP
				</b>
				
			</td>
			<td>
                                <b>
                                        REMOVAL TIMESTAMP
                                </b>

                        </td>

			<td>
				<b>
					Restore
				</b>
				
			</td>
		<tr>
		</thead>
		<tbody id="tbResult">

	</tbody></table>
<div class="navigator">
<label for="id_previous_button">Page:</label>
<input type="button" value="Previous" id="id_previous_button_down" disabled="disabled" onclick="paginateTable('tbResult', -1);">
<input type="button" id="id_next_button_down" disabled="disabled" value="Next" onclick="paginateTable('tbResult', 1);">
<label for="id_next_button" id="label_pages"></label>
</div>
</div>

</div>
<div class="EntryType">
{{ form.entry_type }} {{ form.entry_field }}

<!--
<div class="EntryField">
{{ form.entry_field }}
</div>
-->
<!--</form>-->

	
</body>
</html>
